package com.bookmall.entity;

import java.time.LocalDateTime;
import java.util.Date;

public class IndexType {
	private int indexTypeId;           //主键
	private String typeName;           //用户名
	private int rank;                  //排序，大的值排在上面
	private LocalDateTime createTime;  //注册时间
	private LocalDateTime modifyTime;  //修改时间
	private boolean deleteFlag;        //删除标记
	
	public IndexType() {
		super();
	}

	public IndexType(int indexTypeId, String typeName, int rank, LocalDateTime createTime, LocalDateTime modifyTime,
			boolean deleteFlag) {
		super();
		this.indexTypeId = indexTypeId;
		this.typeName = typeName;
		this.rank = rank;
		this.createTime = createTime;
		this.modifyTime = modifyTime;
		this.deleteFlag = deleteFlag;
	}

	public int getIndexTypeId() {
		return indexTypeId;
	}

	public void setIndexTypeId(int indexTypeId) {
		this.indexTypeId = indexTypeId;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public int getRank() {
		return rank;
	}

	public void setRank(int rank) {
		this.rank = rank;
	}

	public LocalDateTime getCreateTime() {
		return createTime;
	}

	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

	public LocalDateTime getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(LocalDateTime modifyTime) {
		this.modifyTime = modifyTime;
	}

	public boolean isDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(boolean deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	@Override
	public String toString() {
		return "IndexType [indexTypeId=" + indexTypeId + ", typeName=" + typeName + ", rank=" + rank + ", createTime="
				+ createTime + ", modifyTime=" + modifyTime + ", deleteFlag=" + deleteFlag + "]";
	}
	
	
	
}
